package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * GoodsType entity. @author MyEclipse Persistence Tools
 */

public class GoodsType implements java.io.Serializable {

	// Fields

	private Integer typeId;
	private String typeName;
	private Set goodsDetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public GoodsType() {
	}

	/** minimal constructor */
	public GoodsType(Integer typeId, String typeName) {
		this.typeId = typeId;
		this.typeName = typeName;
	}

	/** full constructor */
	public GoodsType(Integer typeId, String typeName, Set goodsDetails) {
		this.typeId = typeId;
		this.typeName = typeName;
		this.goodsDetails = goodsDetails;
	}

	// Property accessors

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Set getGoodsDetails() {
		return this.goodsDetails;
	}

	public void setGoodsDetails(Set goodsDetails) {
		this.goodsDetails = goodsDetails;
	}

}